package com.hnevc.chenqi;

/**
 *输出阶梯式的9*9的乘法口诀
 * 使用循环结构
 */
public class Homework02 {
    public static void main (String[] args){
        int i,j;//定义变量循环
        for (i=1;i<=9;i++){//内层循环
            for ( j=1;j<=i;j++){//外层循环
                System.out.print(i+"*"+j+"="+i*j+" " );//打印输出
            }
            System.out.print("\n");//换行阶梯
        }
    }
}